home *** CD-ROM | disk | FTP | other *** search
- doMenu "New Field"
- put line 1 of info into newName
- put tempFldnNameSC into tname
- put number of card fields into num
- set name of cd field num to tname
- set rect of cd field tname to line 2 of info
- put (item 1 of line 2 of info)&","&(item 2 of line 2 of info) into locB
- if locB > botright of cd then
- set loc of cd field tname to "50,50"
- end if
- set style of cd field tname to line 3 of info
- set showLines of cd field tname to line 4 of info
- set widemargins of cd field tname to line 5 of info
- set autoTab of cd field tname to line 6 of info
- set dontSearch of cd field tname to line 7 of info
- set dontWrap of cd field tname to line 8 of info
- set fixedLineHeight of cd field tname to line 9 of info
- set locktext of cd fld tname to line 10 of info
- set textFont of cd field tname to line 11 of info
- set textSize of cd field tname to line 12 of info
- set textAlign of cd field tname to line 13 of info
- set textStyle of cd field tname to line 14 of info
- put line 15 of info into scriptLength
-
- put number of lines in info into y
- if line 16 of info is not "emptySC" then
- put line 16 to scriptLength+15 of info into scinfo
- set script of cd field tname to scinfo
- end if
- put line (scriptLength+16) to y of info into x
- put x into cd fld tname
- set name of cd field tname to newName